use super::common_import::*;

/// A Python function implemented in Rust.
#[pyfunction]
pub fn py_any(packet: &PyAny) -> PyResult<String> {
    debug!("packet: {:?}", packet);
    
    Ok(format!("frag: {:?}, proto: {:?}, dst: {:?}",
        packet.getattr("frag")?,
        packet.getattr("proto")?,
        packet.getattr("dst")?
    ))
}